package com.mentaleye.service;

import java.util.List;

import com.mentaleye.bean.TeacherBean;
import com.mentaleye.dal.model.TeacherExample;
import com.mentaleye.util.CommonPage;

public interface TeacherService {

	boolean editTeacher(TeacherBean teacherBean,boolean add);
	
	boolean editStatus(TeacherBean teacherBean);

	List<TeacherBean> getTeacherByExample(TeacherExample  teacherExample);
	
	List<TeacherBean> getAllTeachers(TeacherExample  teacherExample);
	
	List<TeacherBean> getTeacherByName(String teacherName);
	
	TeacherBean getTeacherByNo(int teacherNo);
	
	boolean deleteTeacherByList(List<Integer> ids);
	
	public void queryTeacherByPage(CommonPage commonPage);
	
	public void queryRoleTeacherByPage(CommonPage commonPage);
	
	public void queryTeacherByDept(CommonPage commonPage);
	
	List<TeacherBean> getTeacherListByIds(List<Integer> ids);
	
	public List<TeacherBean> queryTeacherByNotOaClass(Integer personRole);
	
	List<TeacherBean> getTeacherListByNotInIds(List<Integer> ids);
	
	public List<TeacherBean> queryTeacher();
	
	public List<TeacherBean> queryTeacherNoDel();
	
	public List<TeacherBean> queryAllTeacherByRoleNo(Integer id);
}
